//
//  CategoryCell.m
//  jang
//
//  Created by lee han on 06/04/2017.
//  Copyright © 2017 lee han. All rights reserved.
//

#import "CategoryCell.h"
#import "UIView+UIViewExt.h"

@implementation CategoryCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    _mButton1 = [CategoryCellButton loadFromNib];
    CGRect tr = _mButton1.frame;
    tr.origin.x = 2;
    _mButton1.frame = tr;
    [self addSubview:_mButton1];
    
    _mButton2 = [CategoryCellButton loadFromNib];
    tr.origin.x += 2;
    tr.origin.x += tr.size.width;
    _mButton2.frame = tr;
    [self addSubview:_mButton2];
    
    _mButton3 = [CategoryCellButton loadFromNib];
    tr.origin.x += 2;
    tr.origin.x += tr.size.width;
    _mButton3.frame = tr;
    [self addSubview:_mButton3];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
